package com.csd.pojo;


import java.util.Date;


/**
 * @author CSD
 * @version 1.1.1
 * @date 2009-12-16
 * @description
 */

public  class Message  implements java.io.Serializable {


    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields    

     private Integer id;

     private String title;

     private Date time;

     private String content;

     private String senderid;

     private String receiverid;

     private Boolean isnew;


    // Constructors

    /** default constructor */
    public Message() {
    }

    
    /** full constructor */
    public Message(String title, Date time, String content, String senderid, String receiverid, Boolean isnew) {
        this.title = title;
        this.time = time;
        this.content = content;
        this.senderid = senderid;
        this.receiverid = receiverid;
        this.isnew = isnew;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }

    public Date getTime() {
        return this.time;
    }
    
    public void setTime(Date time) {
        this.time = time;
    }

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }
    public String getSenderid() {
		return senderid;
	}


	public void setSenderid(String senderid) {
		this.senderid = senderid;
	}


	public String getReceiverid() {
		return receiverid;
	}


	public void setReceiverid(String receiverid) {
		this.receiverid = receiverid;
	}


	public Boolean getIsnew() {
        return this.isnew;
    }
    
    public void setIsnew(Boolean isnew) {
        this.isnew = isnew;
    }
   








}